  3  : wee effa (19.04.2010)
(wfa) | 19.04.2010 | |21:45
pointer_dragged_x and pointer_dragged_y may return with very-very old values.
example: if you dragged the pointer and then you are clicking some on the screen the coordinates are never updated, so if you try to drag the pointer again these functions will give the old coordinates of the previous dragging. this way drawing a line from the start of actual dragging to the end of actual dragging will start from false coordinates.

I recommend a patch for Lib_sensor.java, here it is:

protected void pointerPressed(int i, int j)
{
PX = i;
PY = j;
DX = i;
DY = j;
pressed = 1;
}

TESTED, and works right for me...